package cn.ewan.cloud.tenant.data.router.example.controller;

/**
 * @author lgh
 * @date 2022/12/5 17:32
 */

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name = "service",url = "http://127.0.0.1:1400")
public interface TestFeign {

    @GetMapping(value = "/find/tenant/appname")
    String routeTest(@RequestParam(value="appId")  Integer appId);


    @GetMapping(value = "/find/tenant/govUserEwanA")
    String govUserEwanA(@RequestParam(value="id")  Integer id);
}
